package com.atguigu.gulimall.ware.enums;

import lombok.Data;

public enum LockStatusEnum {
    LOCK(1,"已锁定"),
    UNLOCK(2,"已解锁"),
    SUBSTRACT(3,"已扣减");


    LockStatusEnum(){}

    LockStatusEnum(Integer code,String message){
        this.code = code;
        this.message = message;
    }

    private Integer code;
    private String message;

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }
}
